@model ExpertSMS.Models.StoreProductStock

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>StoreProductStock</legend>

    <div class="display-label">OriginalQuantity</div>
    <div class="display-field">@String.Format("{0:F}", Model.OriginalQuantity)</div>

    <div class="display-label">CurrentQuantity</div>
    <div class="display-field">@String.Format("{0:F}", Model.CurrentQuantity)</div>

    <div class="display-label">Date</div>
    <div class="display-field">@String.Format("{0:g}", Model.Date)</div>

    <div class="display-label">Unit</div>
    <div class="display-field">@(Model.Unit == null ? "None" : Model.Unit.Name)</div>

    <div class="display-label">Store</div>
    <div class="display-field">@(Model.Store == null ? "None" : Model.Store.Name)</div>

    <div class="display-label">Product</div>
    <div class="display-field">@(Model.Product == null ? "None" : Model.Product.Name)</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


